package com.fahai.web.service;

import com.fahai.common.PageVo;
import com.fahai.web.entity.LawyerCity;
import com.fahai.web.entity.LawyerGroupSkill;
import com.fahai.web.entity.LawyerInfo;
import com.fahai.web.entity.LawyerSkill;
import com.fahai.web.vo.LawyerInfoVo;
import com.fahai.web.vo.LawyerSkillVo;

import java.util.List;
import java.util.Map;

/**sd  findLawyerGroupInfo
 * Created by sky on 17/5/12.
 */
public interface LawyerInfoService {

    public PageVo findLawyerGroupInfo(LawyerInfoVo lawyerInfoVo, PageVo pageVo);
    //获取律师列表
    public PageVo findLawyerList(LawyerInfoVo lawyerInfoVo, PageVo pageVo);

    public void updateLawyerInfo(LawyerInfoVo lawyerInfoVo);

    public LawyerInfoVo findLawyerInfoToUpdate(Integer lawyerid);

    public List<LawyerSkill> findSkillInfoList(Integer skillType);

    public void saveLawyerSocietyHonor(LawyerInfoVo lawyerInfoVo);

    public void deleteLawyerSocietyHonor(LawyerSkill lawyerSkill);

    public void updateFrozeLawyerAccount(List<LawyerInfo> lawyerInfoList);

    public Map<String,Object> findLawyerDetailInfo(Integer lawyerid);

    public void updateLawyerDetailInfo(LawyerInfo lawyerInfo);

    public void updateLawyerSkillInfo(LawyerSkillVo lawyerSkillVo);

    public void updateLawyerOffline(LawyerInfo lawyerInfo);

    public void deleteGroupSkill(Integer lawyerId,Integer skillType);

    public void batchUpdateLawyerSkill(List<LawyerSkill> lss);

    public void updateLawyerValid(LawyerInfo lawyerInfo);

    public void batchSaveLawyerCity(List<LawyerCity> lcs);

    public void deleteLawyerCity(LawyerCity lc);

    public void batchSaveLawyerGroupSkill(List<LawyerGroupSkill> lgss);

    public List<Map<String,Object>> selectProductInfoList();

    public void updateLawyerPlat(List<Integer> pltas,Integer lawyerid);

    public List<Map<String,Object>> selectPersonAdvantage();
    
    public Map<String,Object> selectOpenIdValid(Integer lawyerid);
}
